package com.code.family;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动类
 * @author 上玄
 */
@SpringBootApplication
@MapperScan("com.code.family.mapper")
@ComponentScan("com.code.family.config")
@ComponentScan("com.code.family.config.exception")
@ComponentScan("com.code.family.config.mybatis")
@ComponentScan(basePackages = {"com.code.family"})
public class FamilyFinancialSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(FamilyFinancialSystemApplication.class, args);
    }

}
